<?php

use Illuminate\Support\Facades\Route;

Route::prefix('auth')
    ->namespace('Auth')
    ->group(route_path('admin/auth.php'));

Route::group(['middleware' => 'auth:admin'], function () {

    Route::get('/')
        ->uses('IndexController@getIndex')
        ->name('admin.index');

});
